package com.clps.digital.dao;

import com.clps.digital.model.entity.Property;
import com.clps.digital.model.entity.User;

import java.util.List;

/**
 * @Author: 小炎子
 * @Date: 2024/9/2 下午3:55
 * @Description: 用户资产
 **/
public interface PropertyDao {

    List<Property> getProperty(Long userId);

    void saveProperty(Property property);

    void addProperty(Property property);

    void updateProperty(Property property);

    Property getByIdProperty(User user);

    Property getByCurrencyProperty(Long userId, Long currencyId);

}
